<?php include "include/header.php" ?>
<div class="main-content">
					<div class="container">
										
						<div class="page-content">
						
							<!-- Heading -->
							<div class="single-head">
								<!-- Heading -->
								<h3 class="pull-left"><i class="fa fa-table purple"></i>Report Data</h3>
								<!-- Bread crumbs -->
								<div class="breads pull-right">
									<strong>Nav</strong> : <a href="<?=base_url('/')?>">Home</a> / <a href="<?=base_url('report_data')?>">Report Data</a>
								</div>
								<div class="clearfix"></div>
							</div>
							<!-- Table Page -->
							<div class="page-tables">
								<!-- Table -->
								<div class="table-responsive">
									<table cellpadding="0" cellspacing="0" border="0" id="data-table" width="100%">
										<thead>
											<tr>
												<th>Group name</th>
												<th>Item name</th>
												<th>Data value</th>
												<th>Data date</th>
												<th>Data server</th>
												<th>Update time</th>
											</tr>
										</thead>
										<tbody>
											<?php foreach ( $datas as $row ){ ?>
												<tr>
													<td><?=$row['group_name']?></td>
													<td><?=$row['item_name']?></td>
													<td><?=$row['data_value']?></td>
													<td><?=$row['data_date']?></td>
													<td><?=$row['data_server']?></td>
													<td><?=$row['update_time']?></td>
												</tr>
											<?php }	?>																																									
										</tbody>
										<tfoot>
											<tr>
												<th>Group name</th>
												<th>Item name</th>
												<th>Data value</th>
												<th>Data date</th>
												<th>Data server</th>
												<th>Update time</th>
											</tr>
										</tfoot>
									</table>
									<div class="clearfix"></div>
								</div>
								</div>
							</div>
						</div>
						
					</div>
				</div>
					</div>
			<!-- Mainbar ends -->
			
			<div class="clearfix"></div>
		</div>
<?php include "include/js.php" ?>
<!-- Javascript for this page -->
      
        <script type="text/javascript">
		/* ****************************************** */
		/* Data Table JS */
		/* ****************************************** */

		$(document).ready(function() {
			$('#data-table').dataTable({
				"bSort":false,
			   "sPaginationType": "full_numbers"
			});
		});

		</script>
		
<?php include "include/footer.php" ?>
<!-- Javascript for this page -->
      
      